#include "stdafx.h"

#pragma once

namespace HandBanana { namespace Core
{
    /// <summary>
    /// 
    /// </summary>
    public ref class Timer sealed
    {
    // Constructor
    public:
        Timer(float argTimePerTick);


    // Public Methods
    public:
        void    BeginTiming(void);
        void    EndTiming(void);
        void    Reset(void);
        Boolean Tick(void);


    // Private Data Members
    private:
        LONGLONG    mStartTime;
        float       mFrequency;
        float       mAccumulatedTime;
        float       mTimePerTick;

    };
} }